from celery.result import AsyncResult

from test.celery_test import cel


def get_celery_result(id):
    async_result = AsyncResult(id=id,app=cel)
    if async_result.successful():
        print(async_result.get())